package com.test.platform.module.perf;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

@Data
@Configuration("perf_config")
public class Config {

    @Value("${perf.brokerUrl}")
    private String brokerUrl;

    @Value("${perf.reportTopic}")
    private String reportTopic;

    @Value("${perf.kafkaGroup}")
    private String kafkaGroup;

    @Value("${perf.analyseInterval}")
    private int analyseInterval;

    @Value("${perf.consumeThread}")
    private int consumeThread;
}